package com.zd.commodity.categoryMng.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zd.commodity.biz.impl.BaseBiz;
import com.zd.commodity.categoryMng.biz.ICategoryBiz;
import com.zd.commodity.categoryMng.dao.ICategoryDao;
import com.zd.commodity.categoryMng.entity.Category;
@Service
public class CategoryBiz extends BaseBiz<Category> implements ICategoryBiz {
	private ICategoryDao categoryDao;
	
	public ICategoryDao getCategoryDao() {
		return categoryDao;
	}
	@Autowired
	public void setCategoryDao(ICategoryDao categoryDao) {
		this.categoryDao = categoryDao;
		this.setBaseDao(categoryDao);
	}
	
	public void deleteCategoryBrand(Long categoryId,Long brandId){
		categoryDao.deleteCategoryBrand(categoryId,brandId);
	}

}
